package com.site.wisdom_construction.dao.safetyModule;

import com.site.wisdom_construction.entity.safetyModule.SafetyInspectionRecord;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/13
 * @Description
 */
public interface SafetyInspectionRecordDao {
    /** 增加安全巡检记录 */
    int insertSafetyInspectionRecord(Map map);

    /** 删除安全巡检记录 */
    int deleteSafetyInspectionRecord(Map map);

    /** 修改安全巡检记录 */
    int updateSafetyInspectionRecord(Map map);

    /** 分页模糊查询安全巡检记录 */
    List<SafetyInspectionRecord> findSafetyInspectionRecordByPage(Map map);

    /** 统计总数(分页) */
    long Total(Map map);
}
